package com.mh.example.xml.aop;

import org.aspectj.lang.ProceedingJoinPoint;

/**
 * 纯xml配置方式
 */
public class UserAspectAllXml {

	public void before() {
		System.out.println("Before...");
	}

	public void around(ProceedingJoinPoint proceedingJoinPoint) throws Throwable {
		System.out.println("Around Before ...");
		// 执行被增强的目标方法
		proceedingJoinPoint.proceed();
		System.out.println("Around After ...");
	}

}
